
pkgname=keyutils
pkgver=1.5.10
pkgrel=1
pkgdesc="Linux Key Management Utilities"
arch=('x86_64')
url="http://www.kernel.org"
license=('GPL2' 'LGPL2.1')
depends=('glibc' 'sh')
backup=('etc/request-key.conf')
source=("http://people.redhat.com/~dhowells/keyutils/${pkgname}-${pkgver}.tar.bz2")
md5sums=('3771676319bc7b84b1549b5c63ff5243')

build() {
  cd ${pkgname}-${pkgver}
  
  make # CFLAGS=${CFLAGS} LDFLAGS=${LDFLAGS}
}

package() {
  cd ${pkgname}-${pkgver}
  
  make DESTDIR=${pkgdir} LIBDIR="/usr/lib" USRLIBDIR="/usr/lib"  install
}
